package tjs.study.mini.spingmvcmini.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import tjs.study.mini.spingmvcmini.config.servlet.RequestMappingHandlerAdapter;

@ComponentScan(value = "tjs.study.mini.spingmvcmini")
@Configuration
public class MyWebMvcConfig {
    @Bean
    public RequestMappingHandlerAdapter requestMappingHandlerAdapter() {
        return new RequestMappingHandlerAdapter();
    }
}
